package com.example.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.dao.PostDao;
import com.example.entity.MS;
import com.example.entity.Post;
import com.example.service.PostService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PostServiceImpl extends ServiceImpl<PostDao,Post> implements PostService {

    @Autowired
    private PostDao postDao;

    @Override
    public List<MS> getRecruitmentByPost() {
        return postDao.getRecruitmentByPost();
    }
}
